<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>012-媒体类型的使用2.html</title>
	<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
	<style>
		@media screen {
			body{
				color: red;
			}
		}
		@media print {
			body{
				color: blue;
			}
		}
	</style>
</head>
<body>
	文字
</body>
</html>